@font-face {
    font-family: 'DIN';
    src: url(//s.thsi.cn/css/m/fonts/dinstock.ttf);
}

body {
    opacity: 1;
    background-color: #fff;
}

.canvasOutZIndex {
    z-index: 200;
}

.canvasOutBrotherZindex {
    z-index: 1000;
}

.opa0 {
    opacity: 0;
}

.dpbox {
    display: box;
    -webkit-display: box;
}

.ba-center {
    box-align: center;
    -webkit-box-align: center;
}

.bp-start {
    box-pack: start;
    -webkit-box-pack: start;
}

.set_px(@css_name, @px_num, @dpr: 4) when (@dpr > 0) {
    .set_px(@css_name, @px_num, (@dpr - 1));

    [data-dpr="@{dpr}"] & {
        @{css_name}: unit(@dpr*@px_num, px);
    }
}

#top {
    padding: .25rem .3rem;
    background: #fff;
    margin-bottom: .2rem;
    height: 2.28rem;

    >div {
        box-sizing: border-box;
        vertical-align: top;
    }

    .stockName,
    .tl-title {
        font-weight: bold;
    }

    .stockName {
        font-size: .3rem;
        vertical-align: top;
        display: inline-block;
    }

    .stockCode {
        font-size: .24rem;
        color: #999;
        margin-left: .14rem;
        vertical-align: top;
        display: inline;
    }

    .top-left {
        width: 40%;
        float: left;
    }

    .top-right {
        width: 60%;
        float: left;

        .kline-container {
            width: 100%;
            height: 2.1rem;
            position: relative;
            .canvasOutZIndex;
            background: #fff !important;

            >div {
                z-index: 100;
            }
        }
    }

    .kline-outer {
        background: #fff;
        position: relative;

        .clearfix {
            .canvasOutBrotherZindex;
            overflow-y: visible;

            >span {
                line-height: 1.5;
            }
        }

        .gridwrapper {
            width: 100%;
            height: 2.1rem;
            position: absolute;
            border: 1px solid #ccc;
            box-sizing: border-box;
            .canvasOutBrotherZindex;

            .hor-line {
                position: absolute;
                border-bottom: 1px dashed #ccc;
                top: 1.05rem;
                width: 100%;
                .set_px(border-width, 1);
            }

            .ver-line {
                position: absolute;
                border-right: 1px dashed #ccc;
                left: 50%;
                height: 100%;
                .set_px(border-width, 1);
            }
        }

        .fl {
            float: left;
            margin-left: 0.04rem;
            overflow-y: visible;
        }

        .f2 {
            position: absolute;
            left: 50%;
            margin-left: -0.25rem;
        }

        .fr {
            float: right;
            margin-right: 0.04rem;
            overflow-y: visible;
        }

        >div {
            font-family: 'DIN' !important;
            font-size: 0.18rem;
            color: #999999;
        }

        >div:nth-child(3) {
            width: 100%;
            position: absolute;
            top: 0.06rem;
        }

        >div:nth-child(4) {
            width: 100%;
            position: absolute;
            top: 0.96rem;
        }

        >div:nth-child(5) {
            width: 100%;
            position: absolute;
            top: 1.8rem;
        }

        >div:nth-child(6) {
            width: 100%;
            position: absolute;
            top: 2.18rem;

            span:nth-child(3) {
                margin-left: 0.2rem;
            }
        }

        .time {
            z-index: 1000;
            position: absolute;
            left: 0%;
            bottom: 0%;
            color: #999;
            width: 100%;
            font-size: .16rem;

            >span {
                width: 33.3%;
                box-sizing: border-box;
                text-align: center;

                &:first-child {
                    text-align: left;
                }

                &:last-child {
                    text-align: right;
                }
            }
        }

        .price {
            position: absolute;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1000;
            color: #999;
            font-size: .16rem;

            >span {
                position: absolute;
                left: 3%;
                width: 100%;

                &:first-child {}

                &:nth-child(2) {}

                &:last-child {
                    bottom: 10%;
                }
            }
        }
    }

    .tl-nums,
    .tl-jy {
        line-height: 1.3;
        font-family: 'DIN';
    }

    .tl-nums {
        margin-top: .08rem;
        font-size: .26rem;
        font-family: 'DIN';

        .stockZF {
            margin-left: .2rem;
        }
    }

    .tl-title {
        margin-top: .2rem;
        font-size: .28rem;
        height: 0.32rem;
        line-height: 0.32rem;
        position: relative;

        span {
            position: absolute;
            display: block;
            height: 0.32rem;
            width: 1.86rem;
            left: 0;
            bottom: 0;
        }

        i {
            display: block;
            position: absolute;
            bottom: 0.04rem;
            left: 1.82rem;
            width: 0.28rem;
            height: 0.28rem;
            background-image: url(../images/more-info.png);
            background-size: 100% 100%;
        }
    }

    .tl-jy {
        font-size: .8rem;
        color: #e93030;
        margin-top: 0.08rem;
    }

    .tl-stock {
        line-height: 0.48rem;
        position: relative;
    }
}

.ztDetail-box {
    height: 0.8rem;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    width: 100%;
    border-bottom: 1px solid #eeeeee;

    div {
        -webkit-box-flex: 1;
        font-size: 0.28rem;
        line-height: 0.8rem;
        color: #666;
        text-align: center;
        position: relative;
        height: 0.8rem;

        span {
            position: absolute;
            display: block;
            height: 0.04rem;
            width: 1.4rem;
            left: 50%;
            bottom: 0;
            margin-left: -0.7rem;
            background-color: #e93030;

        }
    }
}

.rose_box {
    height: 4rem;
    padding: 0 0.32rem;
    position: relative;
    z-index: 10;
    margin-top: 0.24rem;

    #rose {
        width: 100%;
        height: 4rem;
        background-image: url(../images/rose.png) !important;
        background-size: 100% 100% !important;
        z-index: 10;
    }

    .rose_background {
        position: absolute;
        display: block;
        border-radius: 100%;
        background-color: #fff;
        left: 50%;
        top: 50%;
        z-index: 10000;
    }

    .people_jiyin {
        position: absolute;
        height: 0.52rem;
        width: 2rem;
        text-align: right;
        right: 0.32rem;
        top: 0;
        line-height: 0.26rem;

        i:nth-child(1) {
            vertical-align: top;
            line-height: 0.24rem;
            color: #febf62;
            font-size: 0.24rem;
            display: block;
            height: 0.24rem;
        }

        i:nth-child(2) {
            vertical-align: bottom;
            line-height: 0.22rem;
            color: #323232;
            font-size: 0.22rem;
            display: block;
            height: 0.22rem;
            margin-top: 0.04rem;
        }
    }

    .hand_jiyin {
        position: absolute;
        height: 0.52rem;
        width: 2rem;
        text-align: right;
        right: 0.32rem;
        top: 0.62rem;
        line-height: 0.26rem;

        i:nth-child(1) {
            vertical-align: top;
            line-height: 0.24rem;
            color: #4db84d;
            font-size: 0.24rem;
            display: block;
            height: 0.24rem;
        }

        i:nth-child(2) {
            vertical-align: bottom;
            line-height: 0.22rem;
            color: #323232;
            font-size: 0.22rem;
            display: block;
            height: 0.22rem;
            margin-top: 0.04rem;
        }
    }

    .break_jiyin {
        position: absolute;
        height: 0.52rem;
        width: 2rem;
        text-align: right;
        right: 0.32rem;
        top: 1.22rem;
        line-height: 0.26rem;

        i:nth-child(1) {
            vertical-align: top;
            line-height: 0.24rem;
            color: #e96a8f;
            font-size: 0.24rem;
            display: block;
            height: 0.24rem;
        }

        i:nth-child(2) {
            vertical-align: bottom;
            line-height: 0.22rem;
            color: #323232;
            font-size: 0.22rem;
            display: block;
            height: 0.22rem;
            margin-top: 0.04rem;
        }
    }

    .trend_jiyin {
        position: absolute;
        height: 0.52rem;
        width: 2rem;
        text-align: right;
        right: 0.32rem;
        top: 1.8rem;
        line-height: 0.26rem;

        i:nth-child(1) {
            vertical-align: top;
            line-height: 0.24rem;
            color: #8a89e2;
            font-size: 0.24rem;
            display: block;
            height: 0.24rem;
        }

        i:nth-child(2) {
            vertical-align: bottom;
            line-height: 0.22rem;
            color: #323232;
            font-size: 0.22rem;
            display: block;
            height: 0.22rem;
            margin-top: 0.04rem;
        }
    }

    .short_jiyin {
        position: absolute;
        height: 0.52rem;
        width: 2rem;
        text-align: left;
        left: 0.32rem;
        bottom: 0.26rem;
        line-height: 0.26rem;

        i:nth-child(1) {
            vertical-align: top;
            line-height: 0.24rem;
            color: #f06f6f;
            font-size: 0.24rem;
            display: block;
            height: 0.24rem;
        }

        i:nth-child(2) {
            vertical-align: bottom;
            line-height: 0.22rem;
            color: #323232;
            font-size: 0.22rem;
            display: block;
            height: 0.22rem;
            margin-top: 0.04rem;
        }
    }

    .big_jiyin {
        position: absolute;
        height: 0.52rem;
        width: 2rem;
        text-align: left;
        left: 0.32rem;
        bottom: 1.3rem;
        line-height: 0.26rem;

        i:nth-child(1) {
            vertical-align: top;
            line-height: 0.24rem;
            color: #ffa65f;
            font-size: 0.24rem;
            display: block;
            height: 0.24rem;
        }

        i:nth-child(2) {
            vertical-align: bottom;
            line-height: 0.22rem;
            color: #323232;
            font-size: 0.22rem;
            display: block;
            height: 0.22rem;
            margin-top: 0.04rem;
        }
    }

    .rise_jiyin {
        position: absolute;
        height: 0.52rem;
        width: 2rem;
        text-align: left;
        left: 0.32rem;
        bottom: 1.9rem;
        line-height: 0.26rem;

        i:nth-child(1) {
            vertical-align: top;
            line-height: 0.24rem;
            color: #4d4d4d;
            font-size: 0.24rem;
            display: block;
            height: 0.24rem;
        }

        i:nth-child(2) {
            vertical-align: bottom;
            line-height: 0.22rem;
            color: #323232;
            font-size: 0.22rem;
            display: block;
            height: 0.22rem;
            margin-top: 0.04rem;
        }
    }

    .fenshi_jiyin {
        position: absolute;
        height: 0.52rem;
        width: 2rem;
        text-align: left;
        left: 0.32rem;
        top: 0.06rem;
        line-height: 0.26rem;

        i:nth-child(1) {
            vertical-align: top;
            line-height: 0.24rem;
            color: #7eb2f3;
            font-size: 0.24rem;
            display: block;
            height: 0.24rem;
        }

        i:nth-child(2) {
            vertical-align: bottom;
            line-height: 0.22rem;
            color: #323232;
            font-size: 0.22rem;
            display: block;
            height: 0.22rem;
            margin-top: 0.04rem;
        }
    }
}

.rose-score {
    padding: 0.24rem 0.32rem 0.24rem;

    .limit_score {
        border-top: 1px solid #eeeeee;

        li {
            margin-top: 0.4rem;
            width: 100%;

            div:nth-child(1) {
                float: left;
                width: 25%;
                vertical-align: bottom;
                line-height: 0.48rem;
                height: 0.48rem;

                i:nth-child(1) {
                    color: #e93030;
                    font-family: 'DIN';
                    font-size: 0.48rem;
                    line-height: 0.48rem;
                    vertical-align: bottom;
                    display: inline-block;
                }

                i:nth-child(2) {
                    height: 0.24rem;
                    line-height: 0.24rem;
                    color: rgb(50, 50, 50);
                    font-size: 0.24rem;
                    font-family: 'DIN';
                    vertical-align: bottom;
                    display: inline-block;
                }
            }

            div:nth-child(2) {
                width: 75%;
                display: inline-block;
                vertical-align: top;

                span {
                    font-weight: bold;
                    font-size: 0.28rem;
                    height: 0.28rem;
                    vertical-align: bottom;
                    text-align: left;
                    display: block;
                    margin-top: 0.18rem;
                    line-height: 0.28rem;
                }

                p {
                    font-size: 0.3rem;
                    color: #999;
                    line-height: 0.4rem;
                    word-wrap: break-word;
                    word-break: break-all;
                    text-align: justify;
                    margin-top: 0.16rem;
                }
            }
        }
    }
}

.background-rose {
    height: 0.5rem;
    width: 100%;
    background-color: #f5f5f5;
}

.hostory_times {
    padding: 0.32rem;

    p:nth-child(1) {
        font-size: 0.28rem;
        text-align: left;
        color: #323232;
        height: 0.28rem;
        line-height: 0.28rem;
    }

    p:nth-child(2) {
        font-size: 0.24rem;
        text-align: left;
        color: #999;
        height: 0.24rem;
        line-height: 0.24rem;
        margin-top: 0.12rem;

        i {
            color: #e93030;
        }
    }
}

.vueBox {
    background-color: #fff;
}

.graph_box {
    height: 3.9rem;
    padding: 0 0.32rem;
    position: relative;

    div:first-child {
        z-index: 10;
        width: 100%;
        height: 100%;
    }

    div:nth-child(2) {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 100;
        width: 100%;
        height: 100%;
    }
}

.graph_dash {
    position: absolute;
    width: 90%;
    height: 1px;
    border-top: 1px dashed #f3f3f3;
    left: 5%;
    top: 50%;
    z-index: 8;
}

#graph {
    border-top: 1px solid #f3f3f3;
}

.graph_date {
    margin-top: 0.16rem;
    width: 100%;
    height: 0.2rem;
    position: relative;

    span:nth-child(1) {
        position: absolute;
        display: block;
        width: 40%;
        left: 0.32rem;
        top: 0;
        text-align: left;
        font-size: 0.2rem;
        line-height: 0.2rem;
        color: #999;
    }

    span:nth-child(2) {
        position: absolute;
        display: block;
        width: 40%;
        right: 0.32rem;
        top: 0;
        text-align: right;
        font-size: 0.2rem;
        line-height: 0.2rem;
        color: #999;
    }
}

.graph_die {
    margin-top: 0.2rem;
    height: 0.24rem;
    width: 100%;

    span {
        float: left;
        display: block;
        width: 2.56rem;
        height: 100%;
        position: relative;
    }

    span:nth-child(1) {
        i:nth-child(1) {
            width: 0.14rem;
            height: 0.14rem;
            display: block;
            border-radius: 100%;
            background-color: rgb(240, 111, 111);
            position: absolute;
            left: 0.32rem;
            top: 0.05rem;
        }

        i:nth-child(2) {
            color: #666;
            font-size: 0.24rem;
            position: absolute;
            top: 0;
            left: 0.56rem;
            line-height: 0.24rem;
            height: 0.24rem;
            display: block;
        }
    }

    span:nth-child(2) {
        i:nth-child(1) {
            width: 0.14rem;
            height: 0.14rem;
            display: block;
            border-radius: 100%;
            background-color: rgb(249, 203, 203);
            position: absolute;
            left: 0;
            top: 0.05rem;
        }

        i:nth-child(2) {
            color: #666;
            font-size: 0.24rem;
            position: absolute;
            top: 0;
            left: 0.24rem;
            line-height: 0.24rem;
            height: 0.24rem;
            display: block;
        }
    }
}

.hostory_show {
    margin-top: 0.32rem;
    padding: 0 0.32rem;

    div {
        height: 0.8rem;
        line-height: 0.8rem;
        text-align: left;
        color: #323232;
        font-size: 0.28rem;
    }

    .show_box {
        border: 1px solid #eeeeee;
        height: 1.93rem;
        width: 100%;
        display: -webkit-box;
        display: box;
        -webkit-box-orient: horizontal;

        .his_one,
        .his_two,
        .his_three {
            -webkit-box-flex: 1;
            height: 100%;

            p:nth-child(1) {
                font-size: 0.26rem;
                line-height: 0.96rem;
                color: #666;
                text-align: center;
                height: 0.96rem;
            }

            p:nth-child(2) {
                border-top: 1px solid #eeeeee;
                text-align: center;
                font-size: 0.26rem;
                line-height: 0.96rem;
                height: 0.96rem;
                font-family: 'DIN';
            }
        }

        div:nth-child(1),
        div:nth-child(2) {
            border-right: 1px solid #eeeeee;
        }
    }

    .title_one {
        font-size: 0.28rem;
        color: #323232;
        text-align: left;
        margin-top: 0.6rem;
    }

    .title_two {
        font-size: 0.24rem;
        color: #666;
        text-align: left;
        margin-top: 0.06rem;
    }

    .title_three {
        font-size: 0.24rem;
        color: #f06f6f;
        text-align: left;
        margin-top: 0.06rem;
    }
}

#nullDataChart {
    line-height: 1.95rem;
    text-align: center;
    font-size: 0.32rem;
    color: #323232;
}

.line-chart {
    margin-top: 0.48rem;
    padding: 0 0.32rem;
    height: 1.95rem;
    position: relative;
    margin-bottom: 0.56rem;
    z-index: 10;

    #chartBox {
        height: 100%;
        width: 100%;
        border-top: 1px solid #f5f5f5;
        border-bottom: 1px solid #ccc;
        position: relative;
        z-index: 20;
    }

    .chartbottom {
        height: 0.4rem;
        position: absolute;
        bottom: -0.4rem;
        left: 0;
        width: 100%;

        ul {
            height: 0.4rem;
            padding: 0 0.32rem;

            li {
                width: 12.5%;
                float: left;
                text-align: right;
                height: 100%;
                line-height: 0.4rem;
                font-size: 0.2rem;
                color: #999;
            }
        }
    }

    .chartline {
        position: absolute;
        height: 0.01rem;
        border-top: 1px dashed #f5f5f5;
        left: 0.32rem;
        top: 50%;
        z-index: 12;
    }

    .chartTop {
        position: absolute;
        left: 0.32rem;
        top: 0.06rem;
        height: 0.22rem;
        line-height: 0.22rem;
        display: block;
        width: 40%;
        color: #999;
        font-size: 0.22rem;
    }

    .chartMiddle {
        position: absolute;
        left: 0.32rem;
        top: 50%;
        margin-top: -0.11rem;
        height: 0.22rem;
        line-height: 0.22rem;
        display: block;
        width: 40%;
        color: #999;
        font-size: 0.22rem;
        z-index: 15;
    }

    .chartShort {
        position: absolute;
        left: 0.32rem;
        bottom: 0.06rem;
        height: 0.22rem;
        line-height: 0.22rem;
        display: block;
        width: 40%;
        color: #999;
        font-size: 0.22rem;
    }
}

.background {
    width: 100%;
    height: 0.2rem;
    background-color: #f5f5f5;
}

.web_filter {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5000;
    background-color: #000;
    opacity: 0.6;
    display: none;
}

.filter_box {
    overflow: hidden;
    position: fixed;
    top: 8%;
    width: 80%;
    box-sizing: border-box;
    border-radius: 0.08rem;
    left: 10%;
    font-size: 0.34rem;
    background-color: #fff;
    display: none;
    z-index: 10000;

    .filter_title {
        font-size: 0.4rem;
        height: 1.3rem;
        line-height: 1.3rem;
        text-align: center;
        color: #323232;
        font-weight: bold;
    }

    .filter_bottom {
        height: 0.96rem;
        line-height: 0.96rem;
        color: #e93030;
        font-size: 0.36rem;
        text-align: center;
        border-top: 1px solid #f5f5f5;
        width: 100%;
    }

    .filter_contain {
        max-height: 4.4rem;
        padding: 0 0.32rem;
        overflow: hidden;
        color: #666;
        font-size: 0.32rem;
        line-height: 0.54rem;

        section:nth-child(2) {
            margin-top: 0.4rem;
            text-align: justify;
        }

        section:nth-child(3) {
            margin-top: 0.4rem;
            text-align: justify;
        }
    }
}

/*iphoneX适配*/
[data-adapter="thsIphoneXAdapter"] {
    .background-rose {
        height: 0.68rem;
    }
}